package com.papers.web.controller.system;

import com.papers.common.annotation.Anonymous;
import com.papers.common.config.PapersConfig;
import com.papers.common.utils.StringUtils;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 首页
 *
 * @author Lion Li
 */
@RequiredArgsConstructor
@Controller
public class SysIndexController {

    /**
     * 访问首页，提示语
     */
    @RequestMapping("/")
    public ModelAndView index() {
        return new ModelAndView("redirect:http://127.0.0.1:8075/static/index.html");
//        return new ModelAndView("redirect:http://221.234.44.30:8075/static/index.html");
    }
}
